package com.marsoft.test.service;

import com.marsoft.test.entity.EffectContEntity;
import com.marsoft.test.entity.YaPinManageEntity;
import com.marsoft.test.utils.ResultMap;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

@Component
@Service
public interface EffectContService {

    /**
      *@author:he
      *@Date:2021/5/13 10:17
      *@Description:有效的一般担保合同
      */
    public List<EffectContEntity> getEffectCont(Integer id);

    public String getName(Integer id);

    public List<EffectContEntity> getEffectContByState(Integer id,Integer guarantyContractStatus,Integer page,Integer pageSize);

    /**
      *@author:he
      *@Date:2021/5/19 13:37
      *@Description:新增抵押物
      */
    public ResultMap addYP(YaPinManageEntity tYaPinManageEntity);
    /**
      *@author:he
      *@Date:2021/5/20 17:39
      *@Description:抵押物详情修改
      */
    public ResultMap updateYP(YaPinManageEntity tYaPinManageEntity);
    /**
      *@author:he
      *@Date:2021/5/21 10:09
      *@Description:删除抵押物信息
      */
    public ResultMap deleteYP(YaPinManageEntity tYaPinManageEntity);
}
